import React, { Component } from 'react'
import { Card, Avatar } from 'antd'
import './index.less'
export default class Me extends Component {
  render() {
    const usermessage = JSON.parse(window.sessionStorage.getItem('usermessage'))
    console.log(usermessage)
    return (
      <Card title="个人中心" bordered={false} style={{ width: '100%' }}>
        <div className="Me-left-top box-border">
          <Avatar size={80} src={usermessage.avatar} />
          <p>id</p>
          <p>座右铭</p>
          <p>邮箱:</p>
          <p>电话:</p>
        </div>
      </Card>
    )
  }
}
